.product-list {
    padding: 20px;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.text-center {
    text-align: center;
}

.delete-btn,
.create-btn,
.update-btn {
    background-color: #e53e3e;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.update-btn {
    background-color: #3182ce;
}

.create-btn {
    background-color: cadetblue;
    margin-bottom: 10px;
}


.delete-btn:hover {
    background-color: #c53030;
}

.delete-btn:active {
    background-color: #9b2c2c;
}

.create-btn {
    background-color: #38a169;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.create-btn:hover {
    background-color: #2f855a;
}

dialog {
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 600px;
    max-width: 90vw;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

dialog h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #2d3748;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.form-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-actions button[type="submit"] {
    background-color: #38a169;
    color: white;
}

.form-actions button[type="button"] {
    background-color: #e2e8f0;
}
